
#ifndef __SRV_CONTROL_H__
#define __SRV_CONTROL_H__

typedef struct
{
    double left;
    double right;
} motor_speed_t;

/**
 * @brief 设置速度
 *
 * @param speed 期望速度(m/s)
 */
void ist_ctr_set_normal_speed(double speed);

/**
 * @brief 设置转向
 *
 * @param turn +-100,当为100时一侧轮子停转
 */
void ist_ctr_set_turn(double turn);

#endif
